package org.pangu.test.publish;

import java.time.LocalDateTime;

/**
 * @author zhangyj
 * @date 2022/7/19 22:53
 */
public class LoginInfo {
    private Long userId;
    private String userName;
    private LocalDateTime time;//登录时间戳

    public LoginInfo(Long userId, String userName, LocalDateTime time) {
        this.userId = userId;
        this.userName = userName;
        this.time = time;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }
}
